﻿@using BLL;
@{ 
    BlogBLL bll = new BlogBLL();
    SystemParameterBLL spbll = new SystemParameterBLL();
}
<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" lang="zh-CN">
<![endif]-->
<!--[if IE 7]>
<html id="ie7" lang="zh-CN">
<![endif]-->
<!--[if IE 8]>
<html id="ie8" lang="zh-CN">
<![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html lang="zh-CN">
<!--<![endif]-->
<head>
    <meta charset="UTF-8" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="keywords" content="博客、HTML5、Css3特效">
    <meta name="description" content="一个程序员的学习笔记">
    <title>@ViewBag.Title</title>
    @*<link rel='stylesheet' id='font-awesome-css' href='/Content/css/font-awesome.css' type='text/css' media='all' />*@
    <link href="//libs.baidu.com/fontawesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
    <link rel='stylesheet' id='style-css' href='/Content/css/fqlstyle.css' type='text/css' media='all' />

    @*<script src="/Content/js/jquery2.1.1.min.js"></script>*@
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script>
    <script src="/Content/js/ban.js"></script>
    
</head>
<body class="home blog custom-background">
    <div id="top-wrap">
        <div id="top-inner">
            <header id="branding" class="site-header" role="banner">
                <a href="/"><div id="logo"></div></a>
                <nav id="site-navigation" class="main-navigation" role="navigation">
                    <h1 class="menu-toggle">
                        Menu
                    </h1>
                    <a class="skip-link screen-reader-text" href="#content">
                        Skip to content
                    </a>
                    <div>
                        <ul class="menu">
                            <li class="menu-item"><a title="关于作者" href="/about.html">关于作者</a></li>
                        </ul>
                    </div>
                </nav>
            </header>
            <div class="clear"></div>
        </div>
    </div>
    <canvas width="1920" height="200" style="background-color:#000"></canvas>
    <div id="wrap">
        <div id="main">
            @RenderBody()
            <!-- #content -->
            <section id="sidebar">
                <aside class="widget widget_gonggao">
                    <h4>公告</h4>
                    <div style="padding:25px;">
                       <div style="background-image:url(/Content/images/xsn.jpg);width:250px;height:250px;background-repeat: no-repeat; "></div>
                    </div>
                </aside>
                <aside class="widget widget_nav_menu">
                    <h4>近期文章</h4>
                    <div >
                        <ul class="menu">
                            @Html.Raw(bll.RecentBlog())
                        </ul>
                    </div>
                </aside>
                <aside class="widget widget_nav_menu">
                    <h4>文章分类</h4>
                    <div>
                        <ul class="menu">
                            @Html.Raw(bll.BlogCate())
                        </ul>
                    </div>
                </aside>
                <aside  class="widget widget_tag_cloud">
                    <h4>热门标签</h4>
                    <div class="tagcloud">
                        @Html.Raw(bll.HotTag())
                    </div>
                </aside>
                <aside class="widget widget_nav_menu">
                    <h4>友情链接</h4>
                    <div>
                        <ul class="menu">
                            <li ><a title="w3school在线教程" target="_blank" href="http://www.w3school.com.cn/">w3school在线教程</a></li>
                            <li ><a target="_blank" href="http://www.runoob.com/">菜鸟教程</a></li>
                            <li ><a title="Bootstrap前端框架" target="_blank" href="http://v3.bootcss.com/">Bootstrap前端框架</a></li>
                            <li><a title="fontawesome" target="_blank" href="http://fontawesome.io">fontawesome</a></li>
                        </ul>
                    </div>
                </aside>
                
            </section>
        </div>
        <!-- #main -->
    </div>
    <!-- !wrap -->
    <footer>
        <div>
            <span>&copy; @DateTime.Now.Year  Copyright  麒麟 All rights reserved 渝ICP备16004481号</span>
        </div>
        <div style="display:none">
            @Html.Raw(spbll.GetModel("StatsCode").Value)
        </div>
    </footer>
</body>
</html>
<script type='text/javascript' src='/Content/js/navigation.js'></script>
<script src="/Content/js/fqlpublic.js"></script>